Skip to main content

For

For[start,test,incr,body] executes start, then repeatedly evaluates body and incr until test fails to give True. 

Please visit the official Wolfram Language Reference for more details and examples on core symbols.